Smart thermostats offer huge upgrades to home heating and cooling, with some surprising cost savings to boot.