Scenario-Adaptive and Gain-Aware Content Sharing Policies for Cooperative Wireless Environments