Technique for imaging the subsurface of the Earth with seismic waves produced by earthquakes or explosions