A study of coal swelling-controlled CO2 diffusion processes