Resonance-enhanced multiphoton ionization spectroscopy of the nf molecule - (1,3)phi 3d and 4d rydberg states