Structural and optical properties of Er3+ ion in sol–gel grown LiNbO3