A Nonlinear Landau-Zener Formula