Degradation of encapsulated perovskite solar cells driven by deep trap states and interfacial deterioration