A Sequential Game Perspective and Optimization of the Smart Grid with Distributed Data Centers