N,N′-Dimethyl-1,6-hexanediamine, alkyl bromide and 1,3-propanesultone were purchased from Sigma–Aldrich. Potassium carbonate and acetone were obtained from Chempur; acetonitrile was purchased from POCh SA. All compounds were AR quality and they were used without further purification.
All the surfactants solutions were prepared with the use of water from the PURELAB Classic, Elga with resistivity 18.2 MΩ cm.