Development of an integrated approach for modeling gas adsorption and coal swelling