A low-cost instrument for the measurement of microwave resonances in quasi-spherical cavities