Coupling Treatment Technologies with Bioelectrochemical Systems to Optimize Resource Recovery from Wastewater