Semiconductor based nanomaterials for harvesting green hydrogen energy under solar light irradiation