A Smartphone Application To Characterize Electromagnetic Fields In Electron Microscopy