Optimal Doping for Enhanced SnO2 Sensitivity and Thermal Stability