Text this: Spectral analysis of the discoloration process in architectural electrochromic glass