Nanomaterials as highly efficient photocatalysts used for bioenergy and biohydrogen production from waste toward a sustainable environment