Extreme heat doesn't just pose a physical risk to children in schools, but can have long-term academic effects as well.