The influence of textural properties on the adsorption of hydrogen on ordered nanostructured carbons