Hot stamping of titanium alloys