Role of TL thermal quenching in CVD diamond for medical applications