OH-related defects in LiNbO3:Mg,M (M = Nd, Cr, Ti, Mn) crystals