Text this: A framework for performance characterization of energy‐resolving photon‐counting detectors.