Design of water and energy networks using temperature-concentration diagrams