Using thermal imagery to detect viral infections