Electrochromic and magnetic ionic liquids.