Snapshot hyperspectral imaging with high spatial resolution based on transformers