Applications of X-ray diffraction topography to the study of magnetic domains