X-ray stress measurements with synchrotron radiation