Synthesis, characterization and applications of metal oxides with hierarchical nanoporous structure