Nanomaterials and Their Role in Removing Contaminants from Wastewater—A Critical Review