Correlation between photoelectric and optical absorption spectra of thermally evaporated pentacene films