Polymer-derived ceramic thin-film temperature sensor