Electrodeposited CoPt-based 1-dimensional nanostructures