Influence of temperature and electrodeposition potential on structure and magnetic properties of nickel nanotubes