Effector CD4 T-cell transition to memory requires late cognate interactions that induce autocrine IL-2