Plasmonic engineering of metal-oxide nanowire heterojunctions in integrated nanowire rectification units