An investigation of the operating characteristics of two PTW diamond detectors in photon and electron beams RID C-4085-2009