Risk, Transaction Costs, and Tax Assignment: Government Finance in the Ottoman Empire