NMR spectroscopy of rare earth–3d transition metal alloys