Diffraction contrast of electron microscope images of crystal lattice defects - II. The development of a dynamical theory