Spectroscopic properties and exicted-state relaxation dynamics of Er3+ in LiNbO3