Effect of tomography resolution on the calculated microscopic properties of porous materials: Comparison of sandstone and carbonate rocks