New method to measure the unloaded quality factor of superconducting cavities | Synapse