What happens to the density of the layers as you move from the crust to the inner core? Which layer is the densest?