Hydrogel applications for adsorption of contaminants in water and wastewater treatment