Marsupials, like placental mammals, have evolved to meet changing ecological conditions