Thermoelastic waves in microstructured solids: Dual internal variables approach