Q-switched laser damage of infrared nonlinear materials