Synthesis of ionic liquids: application to wittig, reduction and aromatic nucleophilic substitution reactions