On the Lyapunov theory of equilibrium figures of celestial bodies