Electronic energy levels of polyaniline