Stability of a sailing yacht floating upside-down