The Scottish National Party's changing attitude towards the European Union