Scenario-adaptive and gain-aware content sharing policies for cooperative wireless environments