Influence of magnetic fields on charge sharing caused by diffusion in medipix detectors with a Si sensor