Automated high-resolution frequency-stabilized cavity ring-down absorption spectrometer