Real-time modeling of optical orientation in GaAs: Generation and decay of the degree of spin polarization