Preparation of cobalt nanowires in porous aluminum oxide: Study of the effect of barrier layer