The pinning of dislocations by X-irradiation of alkali halide crystals