Band structure and optical properties of polyaniline polymer material