Oscillations of a capillary jet in the presence of a uniform magnetic field