Characterization of a microDiamond detector in high-dose-per-pulse electron beams for intra operative radiation therapy