The effects of minor components on the gas separation performance of membranes for carbon capture