Building a bridge from solid wastes to solar fuels and chemicals via artificial photosynthesis