Comparison of the TiK extended fine structure obtained from electron energy loss spectroscopy and x-ray absorption spectroscopy