The influence of signal strength on the differentiation of effector and memory T cells