Stability of outer planetary systems