Stability analysis of a freely precessing gyroscope carrying a mercury ring damper