A two-oxide nanodiode system made of double-layered p-type Ag2O@n-type TiO2 for rapid reduction of 4-nitrophenol.