Treatment of textile wastewater using a novel electrocoagulation reactor design