Unveiling the irreversible performance degradation of organo-inorganic halide perovskite films and solar cells during heating and cooling processes.