Degradation Of Cd(Se,Te) And Perovskite Photovoltaic Devices: A Numerical Simulation