Ab initio electronic spectra of peptides