Nanomaterials as Photocatalysts—Synthesis and Their Potential Applications