Integrated water recycling and emission abatement in the textile industry.