Metal oxides for photoinduced hydrogen production and dye-sensitized solar cell applications