The Smart City Building Blocks and Their Synergy with Smart Villages