The usable capacity of porous materials for hydrogen storage