These cities use technology to optimize resource use, improve energy efficiency, and manage waste and transportation.