Social-aware Content Delivery with D2D Communications Support for Emergency Scenarios in 5G Systems