A method for controlling the activities of free metal, hydrogen, and phosphate ions in hydroponic solutions using ion exchange and chelating resins