Characterization of monocrystalline diamond films as X-ray detectors