Magnetic coupling in the Gd-T intermetallics (T-Fe, Co)