The stage in the cell cycle when the DNA is replicated is