Transactions Costs and the Demand for Money