Separation of CO2 from a mixture containing CH4, C2H6 and C3H8