Wettability characterisation of sandstone and carbonate rocks using X-ray micro-CT imaging