Ion exchangers and their use in waste water treatment