Best Buy Returns to Profit, Announces Layoffs