A stochastic model for the analysis of the temporal change of dry spells