Template assisted electrodeposition of copper nanowires and their characteristics