Which stage of the cell cycle is responsible for duplicating DNA