Achieving high-performance planar perovskite solar cell with Nb-doped TiO2 compact layer by enhanced electron injection and efficient charge extraction