On the optical quality of KTP crystals for nonlinear optical and electro-optic applications