Water and energy budgets of Earth systems