Linking food and energy to save water