Temperature increases as altitude increases in both the stratosphere and the thermosphere. What is the main difference between these two layers?.