Transformation of plant biochemicals to geological macromolecules during early diagenesis