In situ STM study of potential-driven transitions in the film of a cationic surfactant adsorbed on a Au(111) electrode surface.