Coherence and spectral properties of radiation emitted by a semiconductor laser with an external reflector