Amine-functionalized ionic liquids for CO2 capture