Spectral characteristics of gain-guided semiconductor lasers