Structural characterizations of magnetron sputtered nanocrystalline TiN thin films