Sexual and Asexual Reproduction as Adaptations