The influence of wettability and carbon dioxide injection on hydrocarbon recovery