Photoelectron and electronic absorption spectra of tetrathiafulvalene and related compounds