The growth and properties of magnesium-doped potassium lithium niobate crystal