Mechanism of the electrocoagulation process and its application for treatment of wastewater: A review