Hybrid nanostructures of TiO2 nanorod array/Cu2O with a CH3NH3PbI3 interlayer for enhanced photocatalytic activity and photoelectrochemical performance