The logic of franchise contracts: Empirical results of Japan