Structural similarities between Ti metal and titanium oxides: implications on the high-pressure behavior of oxygen in metallic matrices