Erbium doping LiNbO3 by the ion exchange process