Membrane hybrid systems in wastewater treatment