The resonance energy of amides and their radical cations