The effect of magnetic fields on the electrodeposition of CoFe alloys