The use of electron spin resonance spectroscopy to determine the thermal histories of cereal grains