Analytical solution to soliton switching in nonlinear twin-core fibers.