Interactions between H2 and N2 plasmas and a GaAs(100) surface: Chemical and electronic properties