A study of metal ignitions I. The spontaneous ignition of titanium