Modelled effects of precipitation on ecosystem carbon and water dynamics in different climatic zones