Automation of scanning diffraction calibration and data acquisition on the electron microscope using machine learning