Ionic liquid electrolytes for safer lithium batteries I. investigation around optimal formulation