electrochemical process for wastewater treatment