Selectivity and self-diffusion of CO2 and H2 in a mixture on a graphite surface