DNA replication times the cell cycle and contributes to the mid-blastula transition in Drosophila embryos