THERMOELASTICITY OF NONSIMPLE MATERIALS WITH THERMAL RELAXATION