Energy-resolved X-ray detectors: The future of diagnostic imaging