Development of electrocoagulation process for wastewater treatment: optimization by response surface methodology