The Effect of Oil and Surface Wettability on Foam Flow in Porous Media