Evolutionary Origin and Adaptive Function of Meiosis