Introduction to theoretical and numerical continuation methods with application to differential equations