Protic ionic liquids as electrolytes for lithium-ion batteries