Water use in agroecosystems