The evolution of regulated cell death pathways in animals and their evasion by pathogens