Seismic interferometry by midpoint integration