Effect of chloride substitution on interfacial charge transfer processes in MAPbI3 perovskite thin film solar cells: planar versus mesoporous