Template-assisted electrodeposition of iron nanostructures