A cell's chromosomes must be duplicated before mitosis occurs so that