Contact angles and surface properties of nanoporous materials.