Oxidation and structural changes in fcc TiNx thin films studied with X-ray reflectivity