Design of an integrated optical fiber temperature sensor for harsh environment