How cell death shapes cancer