compare the inner core and the outer core