Microbial electrochemistry for bioremediation