US says 'weeks, not months' remain for nuclear agreement with Iran