Some applications of the theory of electron diffraction contrast