Nanocrystalline C=N thin films