Mercury porosimetry of ceramics