Scotland's Sturgeon quits to let new leader build case for independence