Flexible imidazolium macrocycles: building blocks for anion-induced self-assembly.