what layer of the earth is most dense?