Generalized Soil Water Retention Equation for Adsorption and Capillarity