A chemo-thermo-mechanically coupled theory of photo-reacting polymers: Application to modeling photo-degradation with irradiation-driven heat transfer