Cadbury Schweppes has agreed to sell its European beverages business.