John Swinney pledges to open negotiations with UK government if his party wins majority north of the border