Formation of nitrides of the Group VI transition metals