Preparation and performance of nanostructured iron oxide thin films for solar hydrogen generation