Variation of electro-optic coefficients in MgO-doped LiNbO3 single crystals