Magnetic properties of GdT4Al8 and GdT6Al6 compounds (T=Cr, Mn, Cu)