Adsorption equilibrium of hydrogen on graphene sheets and activated carbon