Understanding the effects of social selfishness on the performance of heterogeneous opportunistic networks