Electron holography of magnetic materials and observation of flux-line dynamics