Advances in nanostructured homojunction solar cells and photovoltaic materials