Flat panel X-Ray detectors