Peer Effects, Cooperation and Competition in Human Capital Formation