Distribution of seismicity before large strike slip and thrust-type earthquakes