Novel phosphonium and ammonium ionic liquids for green applications