Magneto-optical study of the dynamic properties of magnetic nanostructures and nanostructured metamaterials