Metal nanostructures prepared by template electrodeposition