NEXAFS spectroscopy study of lithium interaction with nitrogen incorporated in porous graphitic material