The world’s leading cocoa producers, Ghana and Ivory Coast, are joining together in an attempt to raise the commodity’s price, a move government officials say will boost farmer incomes, reduce the incidence of child labor and give West African farmers a more equitable cut of global chocolate profits.