The value of food and drink exports from Scotland hit a "record" in 2017.