US poultry producer Sanderson Farms has returned to profit in the first half of its financial year as improved market conditions boosted sales and earnings.