Hierarchically porous-structured nickel oxide film prepared by chemical bath deposition through polystyrene spheres template