How the Krebs cycle powers life and death