Thermally-Stable Imidazolium Dicationic Ionic Liquids with Pyridine Functional Groups