New research suggests that the most effective executives use a collection of distinct leadership styles—each in the right measure, at just the right time. Such flexibility is tough to put into action, but it pays off in performance. And better yet, it can be learned.