Second-harmonic generation with the GaAs laser