Optical absorption spectra of polycyclic aromatic hydrocarbons of astrophysical interest