Electric and Magnetic Phenomena Studied by In Situ Transmission Electron Microscopy