How social networking helps male chimps get sex