A ciliary timer for S-phase entry