Compact fiber biocompatible temperature sensor based on a hermetically-sealed liquid-filling structure