Gas-expansion thermometer