Preparation and characterization of magnetic chitosan nanocomposites for removal of Cu2+ from aqueous solution