Spectral linewidth in laser amplifiers and amplified spontaneous emission, and its relevance to the interstellar medium