Electronic properties of polymethine systems. 10. Electron structure and absorption spectra of cyanine bases