Visible, Mid- and Long-Wave Infrared Transparent Sulfur-Rich Polymer with Enhanced Thermal Stability