A method for recovering dyes and dispersants from wastewater generated in the production of disperse dyes