Hypoxia and hypothermia as rival agents of selection driving the evolution of viviparity in lizards