Cooperation and Efficiency in Markets (Lecture Notes