Managing grains and interfaces via ligand anchoring enables 22.3%-efficiency inverted perovskite solar cells