All-optical Landau-Zener tunneling in waveguide arrays