What events ensure that the cells produced by mitosis are genetically identical diploids, while the cells produced by meiosis are genetically different haploids?