Nickel nanowires of 4 nm diameter in the cavity of carbon nanotubes