Adsorption and desorption of hydrogen on graphene with dimer conversion