How does the process of meiosis ensure that each generation of offspring has the same number of chromosomes as the generation before