Absorptive form factors for high-energy electron diffraction