Frequency-modulation spectroscopy with transform-limited nanosecond laser pulses