CD8+ T cell differentiation and dysfunction in cancer