SiC–SiOx heterojunctions in nanowires