Task and motion planning for object manipulation in clutter