Modeling of coal swelling induced by water vapor adsorption