How does meiosis affect genes