Improved system for energy-dispersive x-ray diffraction with synchrotron radiation