Mathematical models for petroleum-forming processes: carbon isotope fractionation