Effects of hydrogen on growth mechanism of GaAs in chemical beam epitaxy