High-energy-density metal nitrides with armchair chains