The Evolution of Mating Systems in Birds and Mammals