Thermal stress-focusing effect in a cylinder with phase transformation