Electronic absorption spectra and geometry of organic