Dye-sensitized composite semiconductor nanostructures