Estimation of the frictional strength of faults from inversion of fault-slip data: a new method