Lessons from Microsoft's triumphant turnaround