Investigation of cell-cycle entry and DNA replication termination using single-cell microscopy