Relation between subduction megathrust earthquakes, trench sediment thickness and upper plate strain