Optical transmission resonances tuned by external static magnetic field in an n-doped semiconductor grating with subwavelength slits