Text this: Quantitative estimates of the variations of refractive index and gain with carrier density in GaAs/GaAIAs semiconductor injection lasers