Immunology of cell death in cancer and infection