Generalized Decision Transformer for Offline Hindsight Information Matching