Capillary moisture and water under pressure