Litigation and the timing of settlement: evidence from commercial disputes