A carbon monoxide analyzer for measurement of smoking behavior