Electrocoagulation process for textile wastewater treatment in continuous upflow reactor