Exchange and crystal field in Sm-based magnets. I. Inelastic neutron scattering and high-field magnetization study of Sm 2 Fe 17 and Sm 2 Fe 17 N 3