Water retention of rigid soils from a two-factor model for clay