Generalization to New Sequential Decision Making Tasks with In-Context Learning