Molecular determinants of T cell receptor specificity and activation