Manipulation of light transmission from stable magnetic microrods formed by the alignment of magnetic nanoparticles