Electron holography of long-range electromagnetic fields: A tutorial