The Supreme Court in New York has blocked the introduction of a ban on large sugary drinks in the city, a day before it was set to be introduced.