Approximating Games and Economies by Markets