Effect of Mg doping on the growth aspects, crystalline perfection, and optical and thermal properties of congruent LiNbO3 single crystals