Optimization of laser treatment safety in conjunction with cryogen spray cooling.