Joint Power Scaling of Processing Resources and Consolidation of Virtual Network Functions