Functional water-soluble polymers: polymer-metal ion removal and biocide properties