Bioelectrochemical transformation of carbon dioxide to target compounds through microbial electrosynthesis