A sorbent containing pH-responsive chelating residues of aspartic and maleic acids for mitigation of toxic metal ions, cationic, and anionic dyes