Metal-containing ionic liquids and ionic liquid crystals based on imidazolium moiety