Synthesis of nickel nanoparticles by hydrazine reduction: mechanistic study and continuous flow synthesis