Fabrication and magnetic characterization of CoxPt1−x nanowire arrays