Elastoplastic soil constitutive laws generalized to partially saturated states