Theoretical chemist who made important contributions to the understanding of the spectra of organic molecules