C-Myc regulation by costimulatory signals modulates the generation of CD8+ memory T cells during viral infection