Experimental and Theoretical Study of Microstructural Wettability of Oil and Gas Reservoirs