Two-fractal overlap time series: Earthquakes and market crashes