Nuclear metamorphosis in mercury