Stabilization of Switched Nonlinear Systems with Unstable Modes