X-ray diffraction study of phenomenon of polyty pism in various types of prganils having layered structures