Correlation between the temperature distribution and the structure of resistance sintered tungsten bars