Export sales of Scotch whisky by value were flat last year as shipments to China fell sharply, but demand in the US and India hit a record high.