Modeling of low temperature adsorption of hydrogen in carbon nanopores