Template effects in the formation of [2]pseudo-rotaxanes containing diazapyrenium units.