Cell-to-cell variability and robustness in S-phase duration from genome replication kinetics