Programmed cell death in invertebrates