One-dimensional models of groundwater flow, sediment thermal history and petroleum generation within continental rift basins