Enhanced anchoring enables highly efficient and stable inverted perovskite solar cells