Some dynamical systems of two degrees of freedom in celestial mechanics