Thermal atomic layer deposition and oxidation of TiN monitored by in-situ spectroscopic ellipsometry