White-collar layoffs rise as job market weakens