Gender and Peer Effects in Social Networks