Fabrication of magnetic macroporous chitosan-g-poly (acrylic acid) hydrogel for removal of Cd2+ and Pb2.