Plane harmonic waves in the theory of thermoviscoelastic materials with voids