Transition between stable states in the dynamics of soil development