Optical Properties and Application Of Template Assisted Electrodeposited Nanowires And Nanostructures