Relationship of structure to properties in surfactants. 11. surface and thermodynamic properties of N-dodecyl-pyridinium bromide and chloride