Harmonic waves in thermoviscoelastic solids