Ecohydrology of groundwater-dependent ecosytems: 2. Stochastic soil moisture dynamics