Synthesis and characterization of nitrogen-based ionic liquids bearing allyl groups and examples of their application