Development of a microemulsion-based process for synthesis of cobalt (Co) and cobalt oxide (Co3O4) nanoparticles from submicrometer rods of cobalt oxalate.