Theory of X-Ray Diffraction by a Distorted Crystal. II. Scattering Amplitude for a Wave Packet of Finite Size