Add option to configure temperature units.

Fixes #3.