X-Ray Spectroscopy with Synchrotron Radiation