The Scottish National Party's former chief executive, Peter Murrell, has admitted embezzling about £400,000 from the political party to fund a lavish lifestyle.