Features of electronic absorption spectra of aromatic polyimides and polyisoimides