Versatile strategy for controlling the specificity and activity of engineered T cells