The evolution of menopause in cetaceans and humans: the role of demography