Application of nanofilteration in the removal and extraction of dyes from industrial wastewater