To Avoid Layoffs, Some Companies Turn to Work-Sharing