Collaborative data retrieval using opportunistic networking