Competition, long run contracts and internal inefficiencies in firms (Seminar paper, 1991)