Temperature waves in rigid materials with memory