New response functions for absorption-line indices from high-resolution spectra