Wettability alteration of carbonate rocks by surfactants: A mechanistic study