Adiabatic theory of strong-field ionization of molecules including nuclear motion