Influence of a magnetic field on diffusion and thermal diffusion in gaseous mixtures