Studies on the competitive sorption of CO2 and CH4 on hard coal