Membranes for industrial wastewater recovery and re-use