Stability and self-organization of planetary systems.