Retrieval of object information from electron diffraction. I. Theoretical Preliminaries