Transmission interference tuned by an external static magnetic field in a two-slit structure