Nonlinear optical susceptibility of AgI