Thermal analysis of the necking phenomenon in fiber drawing