Magnetic hydrogel for better adsorption of heavy metals from aqueous solutions