Cancer immunoediting and resistance to T cell-based immunotherapy