Dependence of the total stimulated light power and the gain factor in GaAs junction lasers on laser length