A resonance neutron-spin flipper for neutron spin echo at pulsed sources