An artificial tongue has determined different types of whiskey, Scottish researchers have found.