Magnetic properties of ferromagnetic nanowires embedded in nanoporous alumina membranes