Comparison of thermocouples and thermopiles