Interpretation of electron spectra I. Spectra of furan, pyrrole and cyclopentadiene, studied with HAM/3