which layer of the Earth is the most dense