Influence of Heat Treatment on the Machinability of Titanium Alloys