Electrochemical treatment of effluents from textile and dyeing industries