Nanomaterials for photovoltaic conversion