A new method for rainfall estimation through soil moisture observations