Highly efficient self-powered perovskite photodiode with an electron-blocking hole-transport NiOx layer