Driving forces for crystal nucleation in Fe-B liquid and amorphous alloys