Probing the Origins of Photodegradation in Organic-inorganic Metal Halide Perovskites with Time-resolved Mass Spectrometry