Electrodeposition based on cyclic voltammograms of hierarchical Pt nanowire arrays: enhanced electrocatalytic activity for methanol oxidation