Process intensification in the textile industry: the role of membrane technology