Ni-doping effect of Mg(0 0 0 1) surface to use it as a hydrogen storage material