Chemistry of carbonization—I. A theoretical study of free radical formation from starting materials