A thin film can switch from releasing heat to trapping it, and wrapping it around buildings could make them more energy-efficient