Porosity analysis by mercury porosimetry