'Smart' Roof Responds to Temperature, Saves Energy