A kinetic model for the thermal evolution of sedimentary and meteoritic organic carbon using Raman spectroscopy