Endogenous matching and the empirical determinants of contract form (IED discussion paper series, 1999)