Research on the degradation of perovskite thin films based on spectrometric ellipsometry