Spectral lineshape and noise of semiconductor lasers under analog intensity modulation