Picosecond GaAs X- and gamma-ray photodetectors