Self-assembled three-dimensional flowerlike Mn0.8Cd0.2S microspheres as efficient visible-light-driven photocatalysts for H2 evolution and CO2 reduction