Study of fast-ion losses in experiments on neutral beam injection on the Globus-M spherical tokamak