[Br:1][CH2:2][CH2:3][CH2:4][CH2:5][CH2:6][CH2:7]Br.[CH3:9][N:10]([CH3:12])[CH3:11]>C(O)C>[Br-:1].[CH3:9][N+:10]([CH3:12])([CH3:11])[CH2:2][CH2:3][CH2:4][CH2:5][CH2:6][CH2:7][N+:10]([CH3:12])([CH3:11])[CH3:9].[Br-:1]37.38 g of 1,6-dibromohexane (purity=96%) and 82.35 g of trimethylamine solution (31-35% by weight in ethanol) are added to a 500 ml flask, and the necessary ethanol is immediately added for obtaining a suitable mixture of the different products that have been added while they are homogenised by magnetic stirring. The resulting mixture is kept at room temperature with constant stirring for 48 hours, and the solid that is formed is recovered by means of filtration and is thoroughly washed with ethyl acetate and diethyl ether. The white solid obtained is dried at room temperature for 12 hours.