Dynamical Diffraction of X-Rays in Superlattices