Calculating the energy required to undergo the conditioning phase of a titanium alloy inertia friction weld