Programmed cell death and the immune system