High Resolution X-Ray Diffraction in Multilayered Semiconductor Structures and Superlattices