Dynamical Calculation of the X‐Ray Diffraction Profile from a Distorted Crystal