Soil water dynamics and vegetation patterns in a semiarid grassland