Application of synchrotron radiation to high resolution powder diffraction and rietveld refinement