The influence of H2 and NH3 on catalyst nanoparticle formation and carbon nanotube growth