Effect of AlGaAs window and buffer layers on the response characteristics of GaAs photoconductive detectors