Study of the optical properties of ionic liquids by Liquid Scintillation Counting