Template-assisted growth of transparent plasmonic nanowire electrodes