Dynamic resource and power management in virtualized data centers