The long-term carbon cycle, fossil fuels and atmospheric composition