Terahertz-time domain spectrometer with 90 dB peak dynamic range