Nanostructured p–n Junctions for Printable Photovoltaics