CCD sensors in synchrotron X-ray detectors