Theoretical study of the effect of radiation on thymine