The SNP is facing fresh demands to set out the cost of independence, after figures showed Scotland had run up a financial black hole of more than £40 billion in recent decades.