On the Electronic Mechanisms of Specific Interactions between Surfactants and a Metal Surface