Effect of surfactants on wettability of near-wellbore regions of gas reservoirs