Critical review of bioelectrochemical systems integrated with membrane-based technologies for desalination, energy self-sufficiency, and high-efficiency water and wastewater treatment