The UK government has moved to veto two bills passed by the Scottish parliament, strengthening the hand of the SNP.