New York's mayor's administration has been attacked for a $166m deal it has made with Cadbury Schweppes.