Magnetic-Field-Guided Assembly Of Anisotropic Nanostructures For Optical Applications