Cell cycle adaptations and maintenance of genomic integrity in embryonic stem cells and induced pluripotent stem cells.