FAvalanche photodiodes for X-ray detectors based on GaAs/AlGaAs semiconductors