How to plan—and pull off—a career pivot