Optimization of electrocoagulation process for the treatment of landfill leachate