Nanostructured magnetic metamaterials based on metal-filled carbon nanotubes