Essays On Social Capital And Peer Effects