Dose responses of diamond detectors to monoenergetic X-rays