Thermal and Mechanical Analyses of Fiber Bragg Gratings-Embedded Polymer Diaphragms