Spin-echo methods for SANS and neutron reflectometry