Nicola Sturgeon has told Boris Johnson that a second independence referendum is “a matter of when, not if” after the Scottish National party secured a historic fourth term at Holyrood on Saturday with a pro-independence majority of MSPs returned despite tactical voting by pro-union supporters.