Photoinduced localized charged excitations in polyaniline