Mathematical models for petroleum-forming processes: n-paraffins and isoprenoid hydrocarbons