REDS: Resource-Efficient Deep Subnetworks for Dynamic Resource Constraints