Nonlinear properties of cuprous halides