Characterisation of porous solids from nanometer to micrometer range by capillary condensation