Controlled electrochemical synthesis and magnetic characterization of permalloy nanotubes