Dibenzylimidazolium halides: from complex molecular network in solid state to simple dimer in solution and in gas phase.