Scottish government to publish plans for second independence referendum