Effect of EOR technology on Wettability and Oil Recovery of Carbonate and Sandstone Formation