Electron spin resonance studies of irradiated acrylamide and methacrylamide