In-situ extraction of microbial electrosynthesis products