Functional Nanowires: Synthesis, Characterization and Applications