Process validation of integrated bioelectrochemical and membrane reactor for synchronous bioenergy extraction and sustainable wastewater treatment at a semi-pilot scale