Pore-Scale Modeling of Wettability Effects and Their Influence on Oil Recovery