Pareto Efficiency and Market Equilibrium under Transaction Costs