Effect of nitrogen doping and external electric field on the adsorption of hydrogen on graphene