The Contact Problem in Thermoviscoelastic Materials