A study on magnesium diffusion into LiNbO 3 single crystal by x-ray diffraction, differential thermal analysis, and scanning electron microscopy