Mobile Data Offloading and Content Distribution with Opportunistic Networking: The Role of Content Popularity