A study of the electrical and charge-collection properties of semi-insulating GaAs detectors