A Game-Theoretic Framework for Distributed Load Balancing: Static and Dynamic Game Models