Absorption and Adsorption of Methane and Carbon Dioxide in Hard Coal and Active Carbon