Chromatin states define tumor-specific T cell dysfunction and reprogramming