Cooperative Relaying and Resource Allocation in Future-Generation Cellular Networks