Electronic Structure of Titanium(III) and Titanium(IV) Halides Studied by Solid‐Phase X‐Ray Photoelectron Spectroscopy