Optimisation of the magnetic field configuration for the negative ion source of ITER neutral beam injectors