Primary refractive index thermometry using a quasi-spherical microwave cavity