Toxic metals remediation in water and soil by phosphate treatment