Wayfair and Macy's are cutting thousands of jobs as retail layoffs deepen