Morphological conversion of dipolar core–shell Au–Co nanoparticles into beaded Au–Co3O4 nanowires