Few-shot Subgoal Planning with Language Models