A methodological approach for the optimal design of the toroidal field coils of a tokamak device using artificial intelligence