Porosity and fluid flow characterization of granite by capillary wetting using X-ray computed tomography