Text this: A study of the stored energy in titanium under deformation and failure using infrared data