Electrochemical single-cell reactor for treatment of industrial wastewater composed of a spent textile bath