X-ray fluorescence spectrometry with synchrotron radiation