SNP scraps its government relationship with the Greens