Magnetic structure of Gd5Si2Ge2 and Gd5Si2Ge1.9M0.1 (M = Ga, Cu)