Development of powder diffraction apparatus for small-angle X-ray scattering measurements