Here’s how to keep your home cool without overpaying.