An electron Talbot-Lau interferometer and magnetic field sensing