A Low-Cost Instrument for the Accurate Measurement of Whispering-Gallery Resonances up to 19 GHz