Study of surface field in n-type GaAs before and after surface doping with H2