which layer has the coolest temperatures?