Critical behavior of the ferromagnetic transition in GdSc(Si,Ge) intermetallic compounds