First M87 Event Horizon Telescope Results. III. Data Processing and Calibration