On the forward and backward in time problems in the Kelvin-Voigt thermoviscoelastic materials