Photovoltaic X-ray detectors based on epitaxial GaAs structures