Electron spin resonance studies of semiquinones and related nitrogen heterocyclic molecules in acid solution