Intercalation of imidazolium cations into graphite via ion exchange