Electrodeposition of NiFe and Fe nanopillars