System-scale planning to support sustainable energy systems and conservation of freshwater resources for people and nature