The evolution of infanticide by females in mammals