Er3+–Li+ ion exchange in lithium niobate crystals: an EXAFS study