Early acquisition of cytolytic function and transcriptional changes in a primary CD8+ T-cell response in vivo.