Highly efficient removal of heavy metals from waters by magnetic chitosan-based composite