Probing the stability of halide perovskite films using electron spectroscopy techniques.