Thermal oxidation of TiN studied by means of soft x‐ray absorption spectroscopy