Self-organized metal nanowire arrays with tunable optical anisotropy