State-space modeling of water table fluctuations in switching regimes