A first-principles study on the role of hydrogen in early stage of graphene growth during the CH4 dissociation on Cu(111) and Ni(111) surfaces