Burning fossil fuels helped drive Earth’s most massive extinction