Synthesis and characterization of magnetic chitin composite and its application towards the uptake of Pb(II) and Cd(II) ions from aqueous solution