While the US economy had done "remarkably well" in the aftermath of the pandemic, it outperformed other advanced economies and did better than in past recessions, Yellen said