Gain and saturation in semiconductor lasers