Soil moisture dynamics and implications for irrigation of farmland with a deep groundwater table