Study on electric field in Au/CdZnTe/In detectors under high fluxes of X-ray and laser irradiation