Electron-volt spectroscopy at a pulsed neutron source using a resonance detector technique