Analyzing the heat-treatment effect on the mechanical properties of free-cutting steels