Thermal phase lag in a solid containing periodic planar cracks