Spectral characteristics of semiconductor lasers with optical feedback