The phase shift of the light output in sinusoidally modulated semiconductor lasers