XANES investigation of chemical states of nitrogen in polyaniline