in which layer of earths interior is the temperature the highest?