Measurement of the χ (2) tensor of the potassium niobate crystal