Hot summer temperatures can make you anxious and irritable and dull your thinking. Here's what researchers think is going on.