A Game for Energy-Aware Allocation of Virtualized Network Functions