State and local budgets in peril as they manage pandemic's economic fallout