Mitosis is the process by which