An inverse temperature field problem of the theory of thermal stresses