Methods of Synthesis and Purification of Ionic Liquids