SNP publish draft legislation for another divisive referendum