when dna replicates what happens to the chromosomes.?