when does the dna replicate in a cell cycle