Composition-Dependent Degradation of Hybrid and Inorganic Lead Perovskites in Ambient Conditions