What characteristic distinguishes inner and outer planets?