Halogen and Hydrogen Bond Architectures in Switchable Chains of Di- and Trihaloimidazoles