Removal of Heavy-Metal Ions by Magnetic Beads Containing Triazole Chelating Groups