Characterization and electrochemical activities of nanostructured transition metal nitrides as cathode materials for lithium sulfur batteries