Cathodic Corrosion of a Bulk Wire to Nonaggregated Functional Nanocrystals and Nanoalloys