Effect of the toroidal magnetic field the on energy and fast particle confinement in the Globus-M spherical tokamak