Nicola Sturgeon ‘confident’ her successor will lead Scotland to become an independent country