On the powder diffraction pattern of crystals with stackings faults