Electronic spectra of adenine and guanine: Assignments and effects of solution environment