A stochastic approach for the description of the water balance dynamics in a river basin