Preparation and characterization of carboxyl-functionalized chitosan magnetic microspheres and submicrospheres for Pb2+ removal