Ordered magnetic nanostructures: fabrication and properties