Why is the corona of the sun hotter than its surface