Optical/NIR stellar absorption and emission-line indices from luminous infrared galaxies