Task Distillation: Transforming Reinforcement Learning into Supervised Learning