Soil Moisture Controls on Water and Carbon Fluxes in Semi-Arid Regions