Crystal structure analysis from fine structure in electron diffraction patterns