Analytical solution for unsteady thermal stresses in an infinite cylinder composed of two materials