Shareholders in Cadbury Schweppes voted in favour of demerging the company's North American food and drink businesses.