Stress Analysis and Parameter Optimization of an FGM Pressure Vessel Subjected to Thermo-Mechanical Loadings