Dual roles of a flouride-doped SnO2/TiO2 bilayer based on inverse opal/nanoparticle structure for water oxidation