Modeling the dynamics of seal formation and its effect on infiltration as related to soil and rainfall characteristics