On inclusion of water resource management in Earth system models – Part 1: Problem definition and representation of water demand