Unsaturated hydraulic properties and cation exchange equilibria in soils of semi-arid and humid regions