A swept frequency pulsed magnetic resonance spectrometer with particular application to NMR of ferromagnetic materials