Equilibrium, kinetic, and thermodynamic studies on the sorption of some heavy metal ions by the phosphorus-containing polymer sorbent