Determination of crystallite size of a polycrystalline sample using X-ray diffraction