Analysis of stress-induced degradation in CdS/CdTe solar cells