Two-dimensional dichalcogenides for light-harvesting applications