Excited states of proteins and nucleic acids