how are the inner planets different from the outer planets