Yahoo Planning Layoffs As Google Raises Pay, Bonuses