Effect of X-irradiation on impurity-vacancy dipoles in lead and calcium-doped NaCl