Theory of nuclear motion in RABBITT spectra