Studies on erbium diffusion in lithium niobate