LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Models