Nicola Sturgeon has told Scots to prepare for two referendums next year – on independence and Brexit.