GaAs detectors for medical imaging