Materials Imaging and Dynamics (MID) instrument at the European X-ray Free-Electron Laser Facility