Synthesis of nanostructured materials with potential renewable energy generation applications