Response of diamond detectors in ultra-high dose-per-pulse electron beams for dosimetry at FLASH radiotherapy