Court ruling paves way for NYC calorie-posting reg to take effect