Microwave spectroscopy: the design of an analytical spectrometer