Text this: Production of flexible nanocomposite membranes for x-ray detectors