Emission and absorption cross section spectra of Er^3+ in LiNbO_3 crystals codoped with indium