Electrochemical oxidation technology to treat textile wastewaters