Scientists have synthesized a new organic material that can convert water into hydrogen fuel using sunlight.