Ceramic-based membranes for water and wastewater treatment