Phonological history of the Scots language