Routing in mobile opportunistic social networks with selfish nodes