Dynamic interaction of seismic and volcanic activity of the Nazca plate edges