Water quality from water-harvesting systems