Hydrocarbons in rift basins: the role of stratigraphy