Predicting the timing of peak oil