Charge localization and trapping at surfaces in lead-iodide perovskites: the role of polarons and defects | Synapse