Nanopatterned films of Co3O4 nanopetals