Pulse response of GaAs and InP photoconductive detectors for the X-ray diagnostics of laser plasmas