Heterojunctions And Schottky Diodes On Semiconductor Nanowires For Solar Cell Applications