Nanomaterials and nanostructures for efficient light absorption and photovoltaics