Dithiocarbamated chitosan as a potent biopolymer for toxic cation remediation.