Scanning Fabry-Perot Spectrometer For Terahertz And Gigahertz Spectroscopy Using Dielectric Bragg Mirrors