Bioelectrocatalysis for Sustainable Electrosynthesis and Wastewater Treatment