Landau-Zener transitions for eigenvalue avoided crossings in the adiabatic and Born-Oppenheimer approximations