Studies on the uptake behavior of a magnetic Co3O4-containing resin for Ni(II), Cu(II) and Hg(II) from their aqueous solutions