Preparation of terpyridine-functionalized paramagnetic nickel–zinc ferrite microspheres for adsorbing Pb(ii), Hg(ii), and Cd(ii) from water