Optical and magnetic properties of porous anodic alumina films embedded with Co nanowires