The central role of ligands in electron transfer from perovskite nanocrystals